﻿using RAP.Framework.Libary.DomTemplateBuilder.Interface;
using System.Text;


namespace RAP.Framework.Libary.DomTemplateBuilder.Handler
{
	public class DynamicHandler : HandlerBase
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="writer"></param>
        /// <param name="rootParamObject"></param>
        /// <param name="parentParamObject"></param>
        /// <param name="context"></param>
        /// <returns></returns>
        public override void DoRender ( StringBuilder writer, object rootParamObject, object parentParamObject, ITemplateRenderContext context )
        {
            var paramObject = this.GetParamObject ( rootParamObject, parentParamObject, context );
            base.DoRender ( writer, rootParamObject, paramObject, context );
        }
    }
}
